package com.xm.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xm.common.pojo.BasePojo;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.context.annotation.Conditional;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Data
@TableName("users")
@Accessors(chain = true)
public class User extends BasePojo implements Serializable {
    private static final long serialVersionUID = 1337911850311626879L;
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String username;
    private String password;
    private String salt;
    private Integer valid;
    private String modifiedUser;
    private List<String> roleIds;



}
